﻿using System;
using System.Collections.Generic;
using System.Data;
using QLTH_DTO;
using QLTH_DATASSECC;

namespace QLTH_BUSINESS
{
   public class clsNamHocBU
    {
       private readonly clsNamHocDA nhDA;
       public clsNamHocBU()
       {
           nhDA = new clsNamHocDA();       
       }
       public DataTable DanhSachNamHoc()
       {
           return nhDA.DanhSachNamHoc();
       }
       public string kiemtraNH(String _dk)
       {
           return nhDA.kiemtraNH(_dk);
       }
       public int Them_nh(clsNamHocDTO nh)
       {
           return nhDA.Them_nh(nh);
       }
       public int Capnhat_nh(clsNamHocDTO nh)
       {
           return nhDA.CapNhat_nh(nh);
       }
       public int Capnhat_nhAll(clsNamHocDTO nh)
       {
           return nhDA.Capnhat_nhALL(nh);
       }

       public int Xoa_namhoc(clsNamHocDTO nh)
       {
           return nhDA.Xoa_namhoc(nh);
       }

       public DataTable manhtHientai()
       {
           return nhDA.manhHientai();
       }
    }
}
